package com.hspedu.interface_;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/1/28
 * @time 11:10
 */
public class Interface03 {
    public static void main(String[] args) {
        I2 i2 = new A1();
        I1 i1 = new A1();
    }
}

interface I1 {}
interface I2 extends I1{}

class A1 implements I2 {}
